Fixed BASIC-AUTH bug