Prodcution Environment Security Module Problem

After login every application says “Unauthorized User” - in Production Environment. In development Environment everything is fine.

My Production and Development is same server, same php. Just different fodlers. All other settings same.
I use nginx php 5.6 opcache - wierd thing is it was working for a long time. After I updated or change a setting (I’m not sure) everything started.

Please help all my applications stopped. Even I start a new project, add a gird app and add security apps, result same.
I tried session in database, not worked…

SOLVED: After some debugging I see too many redirect error. And just deleted fallowing line from nginx config solved.

try_files $uri $uri/ /index.php;