consolidate access token cookie setting/getting into helper methods