Add checks for the IdP shim (authentication_api.js and provisioning_api.js)