allow localhost redirects with config value

fixes #144 
done