XWiki-3492 : Registration issues when email-verification/authentication enabled

I just made the email field mandatory if email verification is enabled.
As I unfortunately didn't see that Sorin closed XWiki-8761 as a duplicate of XWiki-3492, my commit comment refers to the XWiki-8761.