fix for email validation on FF
fix with test
Merge pull request #1099 from jay-hodgson/release-53

SWC-1601: fix for email validation on FF