Added session.logout() where missing from REST call implementations.