use the bearer token as the cookie AuthSession for couchdb