Fixing a bug with wrong message upon bad login