ASP.NET Core Integration testing JWT authenticated APIs How to avoid bypassing authentication in integration tests or depend on external services by issuing valid tokens using a test token provider.