added unit test for Hawk auth confiured rest client