Generate the username - refs BT#8529