Simplified requests code

Changed the code to use `requests.request()` instead of using `method_call = getattr(requests, method)`, also changed the check of the `auth` tuple from `auth[0] is None and auth[1] is None` to `None in auth`.