Alexey Goof

Results 2 issues of Alexey Goof

This PR addresses #902 Changed password existence check from `if not password` to `if password is None` to allow empty string passwords while maintaining the ability to detect unset passwords.