Fix halt method.
Allow to configure the cookie.
Disable identity map by default.