add HTTP-Basic support for RESTful call, and two approaches of testing