[#1178] Constrain number of attempts to generate
a random user name in user_invite