fixe OAuth2 to contain the grant_type