code from check_basic_auth optimized
Merge branch 'master' of https://github.com/hardsec/HttpAuthCrack