login=LOGIN
password=PASSWORD
wget --header 'Authorization: Basic '$(echo $login:$password|base64) https://SERVER/PATH/$1