couchdb adapter for authr