Add initial authentication with password grant_type

Include error handling, logging, and credentials
serializing.

Also add networking-related Foundation class
extensions.
Abstract out base test case class and refactor

Add additional properties for authenticator tests.
Add client authenticated initialization test

Allow the apiKey property to be writeable.