Applied latest IDM changes. Added new event for initialization.
Changed message when a null credential is provided.