Upgraded BasicAuthProvider