Fixing publish credentials