add checks to make IPA component more resilient to reprovisioning