Fix for issue 5259: ASCII encode the username and password before passing
it to encode_base64, which requires bytes in py3k. Fix by Musashi Tamura, tests by Marcin Bachry.
R
R. David Murray committed
caa27b7823f12a971aec54f77a06280fdd84f058
Parent: dfea192