Rest/Request: create Client if its not passed to the constructor for backward compatibility
Authentication/HttpAuth fixes and tests