Also adds auth support to RestConnection