Sets proper locale for sign-in error messages.

[Finishes #71066970]