Add missing login module dependencies.
Move auth module config to its own file.
Define auth service as a constructor function.
Use 'lodash.js' instead of 'lodash.compat.js'.
Use 'angular-pouchdb'.