code: def _authenticate(self):
          
          url = "{base_url}/api/authenticate".format(base_url=self._base_url())
          data = json.dumps({'username': self.username, "password": self.password})
          # Bypass authentication check in make_request by using _send_request
          logger.debug("Authenticating against NetMRI")
          self._send_request(url, method="post", data=data)
          self._is_authenticated = True
docs: Perform an authentication against NetMRI