Use Flask-Login for login support

Closes #145