Encrypt passwords when using change_password().