You don't have to. You can login with npub+DM.
Why do I need to set a password for my nostr:npub1nxy4qpqnld6kmpphjykvx2lqwvxmuxluddwjamm4nc29ds3elyzsm5avr7 account?

Discussion
This is actually the best option, IMO.
Don't have to use an extension or share my nsec, also don't have to use a password.