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
"""
        Add the new (action, resource) to assoc_permissionview_role if it doesn't exist.
        It will add the related entry to ab_permission and ab_view_menu two meta tables as well.
        :param action_name: Name of the action
        :type action_name: str
        :param resource_name: Name of the resource
        :type resource_name: str
        :return:
        """
        action = self.get_action(action_name)
        resource = self.get_resource(resource_name)
        perm = None
        if action and resource:
            perm = (
                self.get_session.query(self.permissionview_model)
                .filter_by(permission=action, view_menu=resource)
                .first()
            )
        if not perm and action_name and resource_name:
            self.create_permission(action_name, resource_name)
    def add_homepage_access_to_custom_roles(self):