fix redirect url should include rawquery
Merge pull request #363 from xiangli-cmu/fix_consistent_redirection

fix redirect url should include rawquery