issue MDL-46976:email addresses not trimmed during registration, edited email to remove spaces