[Fixes #52940715] oauth2-provider gem does not properly parse redirect URI when parameters are already set.