For the free version, I just supplied username="admin" to client.connect().
splunk_service = client.connect(username="admin")
I can't reference anything for this because I found this through trial and error. Couldn't find anything useful in the Splunk Docs.
... View more