Issue 101 - Login error does not get shown in the login dialog

Fixes #101

The fix for logging in using a token caused the error to not get displayed.