Prevent it from exploding if you try to log in with a user who has no password in the database.
login_without_confirmation should allow you to log in without confirmation