Fixed an issue with credential not correctly being used with new assembly form