What do appleeventsd and AppleIDAuthAgent do?
appleeventsd is the Apple Events daemon, which handles cross-application interaction. It is the underlying basis for AppleScript amongst many other things.

AppleIDAuthAgent is "used to check the validity of AppleID certificates".