add spec for imap authentication