Authenticate against CouchDB backend.