Last piece of code that can be moved from swh-web to swh-auth.
That middleware detects when a user previously logged in using
the OpenID Connect authentication backend got his session expired.
In that case it will perform a redirection to a django view whose
name must be set in the SWH_AUTH_SESSION_EXPIRED_REDIRECT_VIEW
django setting (typically a logout view).
Related to T3150
Depends on D5366