Add localhost to no-redirect list