Fix login handling to only allow correct passwords if a password is given.