PYTHON-795 - Fix password handling for None and the empty string.