public static WebApplicationFactory <Startup> WithDisabledLifeTimeValidation(this WebApplicationFactory <Startup> factory) => factory.ConfigureSecurityOptions( o => o.SkipLifetimeValidation = true);