Hi,
I had this problem as well with an MVC site. The cause of my problem was the UserValidator in the usermanager. See this stackoverflow post.
The fix for me was to set the 'AllowOnlyAlphanumericUserNames' to false.
public class AccountController(IOwinContext owinContext)
{
this.owinContext = owinContext;
userManager = owinContext.Get<KenticoUserManager<ExtendedUser>>();
signInManager = owinContext.Get<KenticoSignInManager<ExtendedUser>>();
userManager.UserValidator = new UserValidator<ExtendedUser, int>(userManager) { AllowOnlyAlphanumericUserNames = false };
}
Note The Owincontext is retrieved with dependency injection. And I have an extended user class with some extra fields so your implementation can differ (With retrieving the user and signin managers and setting the user validator).