modifying ok() handler. fixes post process middleware for the purposes of authz. fixes #39