Repair creds.php