So when you load the game, it syncs all of your resource values with the server. So the last save when you are quitting must not be syncing your resources up correctly.

I have made a change on the server that will hopefully help with this. Am still looking into the cause.