Unit tests for HttpBasicAuthAgent
(Summary project coverage is 98.5%)