allow localhost redirects with config value

fixes #144 
I'm confused. The test for 'must be same as registered redirect with config set' seems to be the same (except for the URL used) to the test for 'must be same as registered redirect'. Shouldn't the 'must be same as registered redirect with config set' test turn on the `localRedirects` config at the start of the test and disable it after it succeeds?