Update flask and flask-login to latest versions