Fix artifacts link displayed for UI tests in travis.sh script.
Moving CronArchive token auth check to archive script since it is only for when the archive.php script is invoked from a web request.