Avoid locale cycling on password error (bug 1066985)