Code to read the accessToken was in a "if debugEnabled" conditional
block