tl;dr: Originally, password hashes were stored in /etc/passwd (as the name might imply). It wasn't until "the mid-1980s" that /etc/shadow was invented to fix the security hole.
Knowing the quality of consumer grade router firmware, that fix may be available for your router sometime within the next year </trollface.jpeg>