User not logged first time I open the homepage
Just for everybody to know I finally got through this. WordPress was installed in a subfolder and the rewrite rule was partialy wrong, so that the session wasn’t properly recognized from the homepage. I rewrote the rule as it was suppsed to be and now everything works.