Bucket passwords are no longer available (at leas for new buckets). You need to create a user (Security tab on UI), and specify a password for that user when you connect.
Note you need an SDK which is compatible with Couchbase Server 5.0 - see SDK Compatibility in the Release Notes