Configured flask-security a bit better.