Airflow 2.1.0, Docker

**What happened**:

Users with the Guest role assigned are stuck in a redirect loop once they attempt to login successfully to the web interface.

**What you expected to happen**:

Get minimal access to the dashboard with the appropriate views for a guest role

**How to reproduce it**:
1. Assign a guest role to any user and remove any other roles with the administrator user.
2. Logout from the admin account 
3. Login as the guest user
4. You will notice constant HTTP redirects, and the dashboard will not show up.


airflow/www/security.py
"""Returns permissions for logged in user as a set of tuples with the action and resource name"""
        perms = set()
        for role in self.get_user_roles():
            perms.update({(perm.permission.name, perm.view_menu.name) for perm in role.permissions})
        return perms
    def get_readable_dags(self, user):
        """Gets the DAGs readable by authenticated user."""
        return self.get_accessible_dags([permissions.ACTION_CAN_READ], user)
    def get_editable_dags(self, user):
        """Gets the DAGs editable by authenticated user."""
        return self.get_accessible_dags([permissions.ACTION_CAN_EDIT], user)
    def get_readable_dag_ids(self, user) -> Set[str]:
        """Gets the DAG IDs readable by authenticated user."""
        return {dag.dag_id for dag in self.get_readable_dags(user)}
    def get_editable_dag_ids(self, user) -> Set[str]:
        """Gets the DAG IDs editable by authenticated user."""
        return {dag.dag_id for dag in self.get_editable_dags(user)}
    def get_accessible_dag_ids(self, user) -> Set[str]:
        """Gets the DAG IDs editable or readable by authenticated user."""
        accessible_dags = self.get_accessible_dags(
            [permissions.ACTION_CAN_EDIT, permissions.ACTION_CAN_READ], user
        )
        return {dag.dag_id for dag in accessible_dags}
    @provide_session
    def get_accessible_dags(self, user_actions, user, session=None):