Make SMTP authentication mechanism configurable.