Handle Basic Auth failure
Add test for Handle Basic Auth failure