GTNPORTAL-2941: Improve configurability of CookieTokenService