Created python client.
Refactored tests to use clients.py.JSONClient.
Added tests for Basic authentication.