FIx esx credential type. closes #2406