integrate with spring framework CookieThemeResolver