Display error on dialog on wrong password.

Actually, it is on any failure from the server, but if everything is working correctly, that is
the only error you could get.