Google already supports query string in redirect URI parameter.

Or exists some reason why query is reset?