Cursor closing fix; more informative return from client login and start session methods