hack functional tests so that they can be run against a remote staging server