Enhanced error checking in vcsa_sso provider