It would be nice if whenever the user session has expired an authentication window would be displayed automatically. Currently this is only the case if the user sends a request that requires authentication.
This could be done e.g. by a regular request when a user is logged in. However, this request must pass urgently after the session renewal because otherwise the session would always be extended.