refs #3: implement a class for basic authentication support