Couple fixes. basic queries, register-test, get-test-id, login, working and starting a server on demand