Play nice with Flask-HTTPAuth.