Add Basic authentication test and fix problem thereby exposed.
Basic authentication made functional in addition to Digest authentication