The authentication url is set in the constant of the module.
User Ctrl+F and enter OAuthEndpointAuthorization and press Find. This will yield 2 results, double click on the constant and you can change the location there from ‘https://login.salesforce.com/services/oauth2/authorize’ to what you need.