Answering my own question: Found the cause was that the cron job had an entry that deleted "old" sessions, thus he deleted my session logged in with wp2moodle.
Installing and upgrading help
Session timed out in 30 sec wp2moodle sso
This discussion has been locked so you can no longer reply to it.