Update registration username check error handling
Merge pull request #2071 from guardian/identity-username-check

Update registration username check error handling