Also adapt the request along with the member
The session hash should be saved in a cookie
Add a PAS plugin that will reset the session if manually logged out of the system