A module for doing logged-in requests to a couchdb server