added rpc-user/rpc-password, and HTTP basic authentication for the JSON RPC API