I've built a small custom middleware to log out the user and flush the session conditionally. I'd expect the current request to have the user logged out. However, for the request/response currently being processed, I still have a full response as if the user hadn't been logged out and the session is perfectly available (unexpected). All subsequent request don't have the session anymore (as expected).I've built a small custom middleware to log out