Add initial support for using a requests library session for more flexible authentication.