[aerogear-dev] Dealing with secured endpoints and CORS