Refining the basic auth tests