Writing integration tests for .net core endpoints with authentication - C#