fix filters.php to handle multiple credentials