Change feedback on failed authentication

Fixed reference error and missing feedback message on failed login.

Fix #740
Merge pull request #752 from atomfrede/fix-reference-error

Change feedback on failed authentication