I know this is old but this may help others experiencing the same issue:
QueryString.Add does not mutate the request so you must do something like the following:
context.Request.QueryString = context.Request.QueryString.Add("name", "value");