Fix IMAP.login() to work properly.
Also, add remote tests for imaplib (part of #4471).
diff --git a/Misc/NEWS b/Misc/NEWS
index 3e0de21..19e653c 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -60,6 +60,8 @@
 Library
 -------
 
+- Fix IMAP.login() to work properly.
+
 - Issue #9244: multiprocessing pool worker processes could terminate
   unexpectedly if the return value of a task could not be pickled.  Only
   the ``repr`` of such errors are now sent back, wrapped in an