Display error message to user on failed logins

Warn a user with an error that there have been failed login attempts
for their account. Login errors can be cleared by clicking on the URL in
the message itself.

Fixes #240
Merge pull request #241 from TheSerapher/issue-240

Display error message to user on failed logins