Allow plus signs and apostrophes in usernames. Also fixed error-prone regex for
group names.

Testing Done:
All unit tests pass.

Reviewed at https://reviews.reviewboard.org/r/5034/