basic auth for couchdb integration

#930