Integration of flask-login and bcrypt