support type on credentials flag for backwards compatablilty
1.4.2
Merge branch 'release/1.4.2'