private async Task EnsureIndicesCreatedImplAsync()
        {
            var tasks = new[]
            {
                _usersRepositoryManager.EnsureIndexAsync(o => o.Email.Value, false, true, false),
                _usersRepositoryManager.EnsureIndexAsync(new [] { "Logins.LoginProvider", "Logins.ProviderKey" }, false, true, true)
            };

            await Task.WhenAll(tasks).ConfigureAwait(false);
        }