http: fix Basic auth with empty name field in URL Add test 367 to verify. Reported-by: Rick Lane Fixes #7819 Closes #7820