support type on credentials flag for backwards compatablilty