Adding RedditAuthentication middleware.
Fixes for Modhash middleware. Handling cases where no modhash available, when one is passed from upstream, and when when middleware further down the stack sends back JSON.