Making getToken independent of mocking routes. It's a little cleaner this way.