[#83892994] - Logged in session is tracked inconsistently (fixed critical vulnerability when user was able to hack the system under some circumstances and get full access to API)