module::request reporting errors

when error is reported from service set up so that iframes will print error instead of loading parent window in iframe.

related to this:
[post-file-importer #invalid token redirect](https://github.com/daithi-coombes/post-file-importer/pull/4)