Added a hook for custom response handlers

Thank you very much for releasing this highly customizable extension. I found it's possible to improve it even further by providing overridable response handler.

Typically response content is application-specific, and may contain token parameter with the name other than "token", and/or expose additional fields: user ID, account type, etc. (both is true in my case).