Object #<IncomingMessage> has no method 'flash'
When I try to login using auth facebook with the mobile api I get this error in my response.(api/auth/facebook)

TypeError: Object #<IncomingMessage> has no method 'flash'
   at Object.res.format.html (**_///Mijn documenten**__////node_modules/igloo/lib/boot/error-handler.js:96:13)
   at ServerResponse.res.format (_**///Mijn documenten****////node_modules/express/lib/response.js:608:13)
   at ***///Mijn documenten****////node_modules/igloo/lib/boot/error-handler.js:88:9
   at Layer.handle_error (**_///Mijn documenten_**_////node_modules/express/lib/router/layer.js:58:5)
   at trim_prefix (**_///Mijn documenten*_**////node_modules/express/lib/router/index.js:269:13)
   at *__///Mijn documenten_**_////node_modules/express/lib/router/index.js:238:9
   at Function.proto.process_params (**_///Mijn documenten*_**////node_modules/express/lib/router/index.js:313:12)
   at *__///Mijn documenten_**_////node_modules/express/lib/router/index.js:229:12
   at Function.match_layer (**_///Mijn documenten***_////node_modules/express/lib/router/index.js:296:3)
   at next (**_///Mijn documenten****////node_modules/express/lib/router/index.js:190:10)
