Add docstring for _getBasicHTTPAuthHeaders method