How to avoid bypassing authentication in integration tests or depend on external services by issuing valid tokens using a test token provider.