Fix translation and error message for login dialog