The profile view (`/users/userinfo/`) needs to be moved to FAB auth manager. The profile URL needs to be returned as part of `get_url_account()` as specified in the AIP
"""Clean up security.
        This method is useful if you have changed the name of your menus or
        classes. Changing them leaves behind permissions that are not associated
        with anything. You can use it always or just sometimes to perform a
        security cleanup.
        .. warning::
            This deletes any permission that is no longer part of any registered
            view or menu. Only invoke AFTER YOU HAVE REGISTERED ALL VIEWS.
        """
        self.sm.security_cleanup(self.baseviews, self.menu)
    def security_converge(self, dry=False) -> dict:
        """Migrates all permissions to the new names on all the Roles.
        This method is useful when you use:
        - ``class_permission_name``
        - ``previous_class_permission_name``
        - ``method_permission_name``
        - ``previous_method_permission_name``
        :param dry: If True will not change DB
        :return: Dict with all computed necessary operations
        """
        return self.sm.security_converge(self.baseviews, self.menu, dry)
    def get_url_for_login_with(self, next_url: str | None = None) -> str: