Fix by Rodney Ewing so render_http_exception works with newer Werkzeug versions.
Merge remote-tracking branch 'upstream/master' into basic_auth