Factorized auth token setting