HomeSoftware Heritage

django/backends: Improve expired token handling

Description

django/backends: Improve expired token handling

The first time a user sends an expired token previously used to
perform authenticated Web API calls, Keycloak will return the
following error message: "Offline session not active".

So handle that error message too for indicating a token has expired.

Related to T3121