Improve login error
Ticket #908