The bug seems to be semi fixed after reporting in global channel but hero training will still take more than 500 HT away from player, amount of HTs required is clearly visible at beyond 500 pieces. However, a simple re log in will show only 500 HT taken and any extra taken will be credit back.
Hero Training Bug - RESOLVED
Yes I've seen this happen also but now it won't let me buy tokens when I have 580 ht with an error message saying I need 680 ht when the cost cap is 500 
Unfortunately, this is a known issue and will not be able to get fixed until 1.5.2. Sorry for the inconvenience.