Fix issue where password could be enabled but a blank password would be allowed