fix EZP21591: querystring lost in redirection