set track_vars = on,register_globals = on at php.ini. can solve this HTTP Authentication with php problem