XF 1.5 Logged out after every page refresh

So our forum apparently got hacked since all users had moderator rights, so i had to install a new forum and apply the security fix.
Now after migrating the database and installing xenforo on a new directory i get logged out on every page refresh.

Nothing changed on my hosts end. So what am i doing wrong?
The old forum is still working just the new installation in the new directory got this error.

We do not redirect www -www but this was not a problem till now.

EDIT: added a redirect and it is still logging me out
RewriteCond %{HTTP_HOST} www.united4games.com$
RewriteRule ^(.*)$ http://united4games.com$1 [R=301,L]

Mod_rewrite is enabled since we are using friendly urls and that is working
Last edited:
I fixed it.
After deleting the old forum and installing the steam authentication plugin. Not sure what fixed it but well.....it's working again :D