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