IMAP authentication for Wordpress 3.7.0+