Bug 916896 - Check for valid usernames

https://bugzilla.mozilla.org/show_bug.cgi?id=916896