Added fix for API Client accepting Tokens as part of constructor.

    * Added support for API Client constructor accepting tokens.