Invalid login data now causes an exception