Added a decorator to login to the REST client again if a call fails.
Changed the version to 1.0.0.8