diaspy.connection.Connection.login() returns Connection() object as well
as modifying it in-place