Allow usernames with spaces in view-only mode
Migrated from: https://tracker.clearos.com/view.php?id=1029
Reported by: Peter Baldwin
Active Directory allows usernames with spaces. When a user tries to view such a user via webconfig, a "Username is invalid" warning appears.