Play nice with Flask-HTTPAuth.

Combining @jsonrpc.method and @auth.login_required from Flask-HTTPAuth resulted in ugly errors when unauthenticated requests were attempted. This fix checks to see if the returned object is a Flask Response object and passes on the "status" and "status_code" properties if so.