Replace Katana CORS with custom implementation.