Handle 'Incorrect Password' exception.

closes issue #2640.
don not automatic login if there is no password