issue #19801: moved user preference to xt.session in database