Fixes #795: Login error message being displayed unnecessarily
Merge pull request #800 from iHiD/fix_failed_login_error

Fixes #795: Login error message being displayed unnecessarily