Basic boilerplate for Flask that implements MySQL based login.