The setting for IMAP authentication can be made in the Exchange Management Console.
Navigate to "Server", select the server and click on "edit".
Please open the properties of "IMAP4" at "logon method" and choose "Basic authentication (Plain text)"
After having changed the settings, the IMAP4 service has to be restarted.
Version 7