set_password() fixes