moved the autoApplySessionToken into apiUtil class.