Clarified some utilities and test stuff.
Clarified authentication.
Started adding utility methods for the authentication protocols.
Cleared up some stuff in the API and base resource.