Test that the invalid credentials error is shown to user