Pass session into flask app init