Modified APIClient to not call nailgun during initialization

* changed error messages and help description
* modified APIClient to call nailgun only during requests
* modified the credential arguments to work correctly
* added tests

Change-Id: Ida542ac3c393b653331a38b06e12964dc9588abd
Closes-Bug: #1348395
Merge "Modified APIClient to not call nailgun during initialization"