Don't try to reconnect if no password is stored.

Signed-off-by: Rüdiger Sonderfeld <ruediger@c-plusplus.de>
Fix minor issues. (M)

Signed-off-by: Rüdiger Sonderfeld <ruediger@c-plusplus.de>