The church is in the process of changing from lds.org to ChurchofJesusChrist.org. The logins are separate. So, logging into one doesn't log you into the other.
I've seen cases where you get caught in a loop when getting directed from one to the other. After too many times around the loop. your login will stop working. As such, I'd suggest taking a little different "route" to the directory to see if you can avoid the trap. Currently, it appears that going to lds.org, logging in, then going to the directory works.
Have you searched the
Help Center? Try doing a Google search and adding "site:churchofjesuschrist.org/help" to the search criteria.
So we can better help you, please edit your
Profile to include your general location.