rpc login : return json instead of HTML is isRpc=true
rpc login : return json instead of HTML is isRpc=true
rpc logout : return empty JSON object
Merge branch 'feature/rpclogin' into develop