Small framework for simplifying user authentication/session in Flask