TRUNK-2498: Validate email address in user options page fixed

https://tickets.openmrs.org/browse/TRUNK-2498