Got an error at one point where masquerade.py needed something from the request session, adding a empty dictionary as the session seemed to fix this.