Aynen öyle bir koruma, pencerede de çıkmış zaten "sent using basic authentication" diye...

Curl kullanıyorsan eğer aşağıdaki kod parçası işini görecektir

curl_setopt($ch, CURLOPT_USERPWD, $username . ":" . $password);