Fix not allowed origin tests