fix api_proxy

Now that we have nine.buildbot.net, we can use api_proxy to debug the UI
based on real data

I created this for andras, but forgot to update it.
I'm quite surprised you don't need global declarations here ...