patched PHPBasicAuth