This enables global hooks for OPTIONS and Method Not Allowed (405) default responses. This fixes issues with CORS preflight OPTIONS requests not getting correct headers set by custom hooks.