Fixing inverse logic on ticket validity check

Fixing a bug where the auth ticket was always refreshed before the 2 hour mark due to an inverse time check. Thanks to JR for the fix.