Use correct error name to detect invalid username/password on server login.
Add log messages related to authentication and report errors using their keys.
Add new bower components to index file (missed in previous commits).
Use promise based API for pouchdb authentication.
Read user profile from db after server login.