Added optional location parameter to assertHttpRedirect.

This parameter is used to assert that the request was redirected to
the expected location.