BACKLOG-4815 : update api for user/system session, allows to use JahiaUser or user/realm instead of simple username