add support for basic authentication, based on patch #624180
by Phillip J. Eby
2 files changed