Improving scope authorization to handle redirect_uris with  parameters