The TS500 doesn't have a true bypass.
When in OFF position, the signal goes through the input transformer, R1, the output stage and the output transformer. So there are many possibilities of gain difference.
This doesn't explain the difference between out and in the lunchbox though.
How to you do the measurements when out of the lunchbox? Could the difference be caused by input or output loading?