:bug: Fix bug on the cors middleware (origin-required? was not being enforced)