Added plain authentication

I added the ability to use plain authentication. This allows an administrator user to log in to other user's mailboxes through IMAP. I needed this ability to move email from our Zimbra server to Office 365 for a migration we are doing.