public AuthenticationAccount CreatePasswordAuthenticationAccount(User user, string email, string password)
        {
            var passwordToken = securityManager.CreatePasswordToken(password);

            return(new AuthenticationAccount
            {
                Id = Guid.NewGuid(),
                UserId = user.Id,
                Type = AuthenticationType.Password,
                ServiceId = email,
                ServiceToken = JsonConvert.SerializeObject(passwordToken),
                IsActive = false,
            });
        }