Fix auth_check.inc to perform a commit to avoid PHP session gc from reaping the session. Fixes occasional timeouts when sitting on pages that only fetch AJAX for prolonged periods. Fixes #8116
(cherry picked from commit 2138aad96c7046bff8000cb1febd85f16b9292bb)
Related issues
Bug #8116: status_graph.php: Premature session termination when monitoring live traffic graphs
Fix auth_check.inc to perform a commit to avoid PHP session gc from reaping the session. Fixes occasional timeouts when sitting on pages that only fetch AJAX for prolonged periods. Fixes #8116
(cherry picked from commit 2138aad96c7046bff8000cb1febd85f16b9292bb)