Added logging statements for determination of identity repository.