MDL-27884 Implement proper username validation during csv import