added js-auth tests, made cxx tests start their own server #869