Bucket passwords and N1QL

Is there a solution to make password on bucket work with .NET client and N1QL queries? I get error every time.