accomodate changes to flask_login.py library