Fixing migration of credentials in stack32