cleanup error messages at login

stumpled upon this while working on #264