Allow the creation of access token to be overriden