Added CodecInitializer, so codec could be used in other components (not just for CookieTokenService))