fix IdentityProvider extending