Use Flask-Login instead of basic auth