Handle bad HTTP basic requests without blowing up