Add http authenticate method