Fix credentials file