initial add of new basic auth library code