Manipulation-Resistant Online Learning