Fixing a bug in the IO Filter

There were an mismatch in the test to redirect to the right url in the IO Filter.
We only need to redirect if the call are coming from the ViewerCtrl or if the requested url starts with '/samples/'

Otherwise we don't change the requested url