Fix IMAP.login() to work properly.
Also, add remote tests for imaplib (part of #4471).
A
Antoine Pitrou committed
b1436f185dac249f0f6dc342b2a543ae2d1db63d
Parent: adffced
Also, add remote tests for imaplib (part of #4471).