'Change/Reset a user\'s password for authdb.
Password will be hashed and saved.
:param userid:
the user.id to reset the password
:param password:
The clear text password to reset and save hashed on the db'

def reset_password(self, userid, password):

    user = self.get_user_by_id(userid)
    user.password = generate_password_hash(password)
    self.update_user(user)
