fix sql exception when adding a new token

I couldn't register a new user because date_used wasn't allowed to be empty