Fix broken uploaders when CDN, caused by env vars change.

Test for FOG_CREDENTIALS instead of FOG_PROVIDER.