handle session event correctly in ApplicationRouteMixin, closes #199