Fix can't login if password changed