Update ApiAuthManager.php