Added (external) IMAP authentication for webrtcgateway
The authentication type can be configured per domain in auth.ini