Ion beam heating in the auroral zone