fix issue #2031 display the error message and not the trace
Merge pull request #2032 from carlowens/hotfix/login-wrong-password

fix issue #2031 display the error message and not the trace