Update module_userregistration.php

Latest fixes from other enviroments like UNEDCOMA.