Added a test for the session expiry time being in the future