Fix flask-peewee account routes.