setup_app is deprecated in newer Flask-Login.