public SignInTests(SpirebyteApplicationIntegrationFactory <API.Program> factory)
        {
            var mongoOptions = factory.Services.GetRequiredService <MongoDbOptions>();

            _mongoDbFixture = new MongoDbFixture <UserDocument, Guid>("users", mongoOptions);
            factory.Server.AllowSynchronousIO = true;
            _httpClient      = factory.CreateClient();
            _passwordService = factory.Services.GetRequiredService <IPasswordService>();
        }