Updated client config example and adding client spec.
Added authentication and fixed any API tests that weren't working.