final fix for session expiration after being asleep