App: Added generalized auth. method. (CORS AJAX).