Hi tobbylee1,
Since you're using Windows Authentication to validate the user, it's done by IIS automatically. If the browser prompts a dialog for username and password, it's really difficult for us to involve the process. Therefore, it's difficult for us to trunate the username which has more than 20 characters.
To resolve the problem, I guess you may have these two ways:
1) Restrict the maximal length of username when creating a new user.
2) Use Forms Authencation instead, and authenticate the user via AD manually.
Thanks.