update PagesOnDemand

fixes redirection problem in MW1.23 or later. Now requires
RequestContext object from MW1.18 or later