well, it may have passed thanks to a different order of tests (this failed for me because of output already sent by PHPUnit).

Then, sending the actual header is not important for the test to pass. BrowserKit does not need to receive a ``WWW-Authenticate`` to allow setting the basic auth.