test script to authenticate a fcgi and jsonrpc session