Add test for invalid basic authentication