Fix ladder tab when connected via alternative port

This allows the ladder tab to work when connected to the main server
via port 80 rather than port 8000.