Login tests on JSON RPC gateway implemented