Fetch user credentials for authentication from couchDB