TODO comments
switch to couchbase.AuthHandler