The lemmy.world instance was just updated to version 0.18.2. The login issues that were being reported (for example, here) are now resolved.
For release notes: https://lemmy.world/post/1339018
Edit for those who still have issues logging in:
- When using a browser: clear cookies and cache
- When using an app: remove your lemmy.world account and add it again.
Did you try to remove your account and add it again?