don't call "onLogin" notifier when login attempt was not successful

this fixes #374