fix jenkins test to allow 302 redirect