If your browser has the password saved then you can extract it now and save it to a more secure place, like a password manager. Presumably you could then use it to update your Yahoo! account email to a current, working address.
As noted here - http://stackoverflow.com/questions/30013032/prevent-user-to-... you can get it using your browser's web inspector dev tool.
FWIW, Firefox lets you view the stored passwords directly (about:preferences#security → Saved Logins → Show Passwords). Very useful feature :)
If it's Chrome, you can just go to Settings -> Show advanced settings... -> Manage passwords. Then click on a password and click Show.
Fortunately I can log in if I remember just correctly what email I used for my Yahoo! account. my browser fortunately remembers and the credentials in lightroom still allow my to put stuff up there.