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
"""
    Flask-AppBuilder auth manager.
    This auth manager is responsible for providing a backward compatible user management experience to users.
    """
    def get_user_name(self) -> str:
        """
        Return the username associated to the user in session.
        For backward compatibility reasons, the username in FAB auth manager is the concatenation of the
        first name and the last name.
        """
        first_name = current_user.first_name or ""
        last_name = current_user.last_name or ""
        return f"{first_name} {last_name}".strip()
    def is_logged_in(self) -> bool:
        """Return whether the user is logged in."""
        return current_user and not current_user.is_anonymous
    def get_security_manager_override_class(self) -> type:
        """Return the security manager override."""
        return FabAirflowSecurityManagerOverride
    def get_url_login(self, **kwargs) -> str:
        """Return the login page url."""
        if not self.security_manager.auth_view:
            raise AirflowException("`auth_view` not defined in the security manager.")
        if "next_url" in kwargs and kwargs["next_url"]:
            return url_for(f"{self.security_manager.auth_view.endpoint}.login", next=kwargs["next_url"])
        else:
            return url_for(f"{self.security_manager.auth_view.endpoint}.login")