Fix type hints for computing auth events.