fix setting of userCtx on login and logout and allow session functions to be used without a callback
fix setting of userCtx on login and logout and allow session functions to be used without a callback

kanso/kanso,daniel-z/kanso,anaran/kanso,anaran/kanso,kanso/kanso,anaran/kanso,kanso/kanso,daniel-z/kanso,daniel-z/kanso