Updated test to verify error message with wrong password