added http_basic_authenticate