Add Access-Control-Allow-Origin header to API controllers