XWIKI-11457: Unable to send email when the SMTP server requires authentication
* Solution without breaking an API