'Return an HMAC of the password field.'

def get_session_auth_hash(self):

    key_salt = 'django.contrib.auth.models.AbstractBaseUser.get_session_auth_hash'
    return salted_hmac(key_salt, self.password).hexdigest()
