index.php: Fix auth logging