MOBILE-681 Add support to CORS