Neutralize MEDIA_URL security check if we are running tests.