Fixed problem with IMAP authentication.