[FIX] use the correct value for outputting the current j2ee session id (when exists)