Logon authentication and token expiry

You can find the answer in the last post of this thread: