def __init__(self, base_url, username=None, password=None, verify=True,<EOL>session=None):
self.base_url = base_url<EOL>self.username = username<EOL>self.password = password<EOL>self.verify = verify<EOL>if session is None:<EOL><INDENT>session = requests.session()<EOL><DEDENT>self._session = session<EOL>
Initialize HTTP request handler with optional authentication.

            base_url: URL to send API requests
            username: Username for API access
            password: Password for API access
            verify: Verify HTTPS certificate
            session: requests.Session to send requests with