adding valid-querystring checks

Checking all provider querystring requests to make sure that they
are valid.