Fix up issue #4, public key auth will not work with password setting disabled.