Make sure the password is actually set before trying to hash it (issue #67)