CLOUDIFY-2263 - wrong password did not fail login, now fixed. also, improved logging.