#908: Move users info cache regeneration before sending emails in register.php. Thanks Visman.