Enables authentication.

The changes made for pouchdb/express-pouchdb#103.