When I set the login type to Email and create a new user and generates public and private key from webapi plugin
I got an error "Value cannot be null. Parameter name: name"
StackTrace:
at System.Security.Principal.GenericIdentity..ctor(String name, String type)\r\n at SmartStore.Core.SmartStorePrincipal..ctor(Customer customer, String type)\r\n at SmartStore.Web.Framework.WebApi.Security.WebApiAuthenticateAttribute.OnAuthorization(HttpActionContext actionContext)\r\n at System.Web.Http.Filters.AuthorizationFilterAttribute.OnAuthorizationAsync(HttpActionContext actionContext, CancellationToken cancellationToken)