imap: Moved the sending of the AUTHENICATE command into a separate function
pop3: Moved the sending of the AUTH command into a separate function
smtp: Moved the sending of the AUTH command into a separate function