Register password events.