ImapAuthenticationCheck is broken right now

This affects rake gitlab:incoming_email:check, which would always report that it cannot connect to IMAP, however it's using a wrong method name.

Should we backport this? I wonder why no one noticed this before.