Is the modification relevant to this issue? If you found a bug around BASIC authentication, please separate the modification and PR. I did not understand what problem you faced.