added auth version of c++ tests #648