Add config cookie.
GetArchive() now takes cookies.
download() now takes cookies.
download() removes jdk-specifc old code.