Fix issue with login using blank password