Fix the problem to run the project under php-fpm

Hey. I corrected validation headers. In conjunction nginx+php-fpm undetectable authorization token, since the check was under Apache.