Handle long-term tickets with two-factor authentication enabled