[task] access token creation refactoring for auth server client