Fix an issue where LTs were accessed twice, causing the authentication flow to fail.