fix jenkins test to allow 302 redirect [merge]