Detect run-tests.sh for cookie based auth.