IKSPR-658: SMTP authentication fixes