What on earth. I may need to pay for an expert in this forum software to look into this. I have one idea in my head for will ignore that for now.
The latest thing I've done is disable database sessions, so it will track you being logged in with a method that doesn't use the database. That is a worthwhile thing to rule out as the issue.
I appreciate all your feedback guys