Created BasicAuthJSONClient sub class of JSONClient, so that the base JSONClient class doesn't make any authentication assumptions.

Updated tests.