add ability to set extra params to oauth2 url endpoints

Co-authored-by: Benjamin Sellers <bsellers@gmail.com>
Merge remote-tracking branch 'chazmcgarvey/extra-url-params-2' into 2.1.x