Enable cross-origin access to API.