add rpc auth support
Merge pull request #6 from superwg/master

add rpc auth support