Fixed auth to work with ShareJS outside a browser and added an example client in src/authed_client.coffee