XWIKI-11457: Unable to send email when the SMTP server requires authentication

Conflicts:
	xwiki-platform-core/pom.xml
	xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/XWiki.java
XWIKI-11457: Unable to send email when the SMTP server requires authentication
* Solution without breaking an API

Conflicts:
	xwiki-platform-core/pom.xml
	xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/XWiki.java