Shows bad user/password message when appropriate.

If an empty json string is received after sending M1 (that means no M2
in return), bad user/password message is shown.

This fixes bug 3153.
Merge branch 'bug/incorrect-authentication-message-#3153' into develop