Finish issue 5259 by adding tests and fixes for the 'login'
and 'cram-md5' auth methods.
diff --git a/Misc/NEWS b/Misc/NEWS
index 8a01b21..19f323f 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -34,6 +34,8 @@
 Library
 -------
 
+- smtplib 'login' and 'cram-md5' login are also fixed (see Issue #5259).
+
 - Issue #6121: pydoc now ignores leading and trailing spaces in the
   argument to the 'help' function.