Move the token auth code to a mixin