Issue #2257201 by evilehk, greggles, awardell: Make uid truly optional in email_registration_unique_username