Updated to flask-security 1.6 and Flask 0.9