escape provider name

provider name may contein ```-oauth2``` and hence be an invalid symbol