<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def monkey_patch_flask_security():
 """Monkey-patch Flask-Security."""

        if utils.get_hmac != get_hmac:
            utils.get_hmac = get_hmac
        if utils.hash_password != hash_password:
            utils.hash_password = hash_password
            changeable.hash_password = hash_password
            recoverable.hash_password = hash_password
            registerable.hash_password = hash_password

        # Disable remember me cookie generation as it does not work with
        # session activity tracking (a remember me token will bypass revoking
        # of  a session).
        def patch_do_nothing(*args, **kwargs):
            pass
        LoginManager._set_cookie = patch_do_nothing

        # Disable loading user from headers and object because we want to be
        # sure we can load user only through the login form.
        def patch_reload_anonym(self, *args, **kwargs):
            self.reload_user()
        LoginManager._load_from_header = patch_reload_anonym
        LoginManager._load_from_request = patch_reload_anonym