Turning off HTTP Basic Auth

Fix two issues:

1. When server responds with 401 error message you can turn off http basic authentication by setting
    $client->setUseHttpAuth(false);
   Client will use redmine headers to authorize instead.

2. When server responds with destroyed json data client will return human readable error message instead of null