extracted module jax-rs cookie removal