and put it serverside, in the session info. This saves 1 rpc for every connections.
bzr revid: vta@openerp.com-20121023151549-atepg5qan70xhmiq