Adding jinja2 environment variables as a keyword arg in the flask constructor