I'm able to login as administrator but am getting error when trying to create any bucket.

After many hours of googling I finally found a hack to get it to work
https://www.reddit.com/r/couchbase/comments/2wksmj/authorization_headers_when_using_nginx_as_a/
The trick is to add this to nginx.conf
proxy_set_header ns_server-ui yes;