Access to XMLHttpRequest at 'http://localhost:8080/auth/login' from origin 'http://test' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
No 'Access-Control-Allow-Origin' header is present on the requested resource.Прочтите медленно и внимательно
php -i|grep Loaded\ Configuration
и
Loaded Configuration File
в phpinfo(); покажипхп в каком режиме в апаче? не php-fpm случаем?