[client] Fix unclear error message of login dialog