Make tests work in 2.0
diff --git a/tests/test_helpers.bash b/tests/test_helpers.bash
index d5a3794..f7d7c45 100644
--- a/tests/test_helpers.bash
+++ b/tests/test_helpers.bash
@@ -53,8 +53,12 @@
     echo "http://$DOCKER_IP:$(docker port "$SUT_CONTAINER" 8080 | cut -d: -f2)"
 }
 
+function get_jenkins_password {
+    docker logs "$SUT_CONTAINER" 2>&1 | grep -A 2 "Please use the following password to proceed to installation" | tail -n 1
+}
+
 function test_url {
-    run curl --output /dev/null --silent --head --fail --connect-timeout 30 --max-time 60 "$(get_jenkins_url)$1"
+    run curl --user "admin:$(get_jenkins_password)" --output /dev/null --silent --head --fail --connect-timeout 30 --max-time 60 "$(get_jenkins_url)$1"
     if [ "$status" -eq 0 ]; then
         true
     else