This is how I authenticate on some sites with wget.
wget --user=username --ask-password url_here/file.bar
The --ask-password
parameter asks you for a password. Be sure to replace username
with your actual username and change the url according to your needs.
I think you cannot use wget to access the mentioned apple site.