POC #15179 -- Refactored Client.login and logout to go through a normal request process.