cloudant-labs/cloudant-python — pull request #35 by kxepal (2014-03-22 05:35:22+00:00)
Title: Move session, login and logout methods from Resource to Account

It's a bit awkward to have the code:

db = cloudant.Database(url)
doc = db.document(docid)
doc.login('username', 'password')

Since these methods are not related to document nor database resources.
Account as holder of server root endpoint method is more suitable place
for them.