Finish issue 5259 by adding tests and fixes for the 'login'
and 'cram-md5' auth methods.
3 files changed