I have not experienced this because I have a folder where I keep all my details. Even if I forget, I can easily go there and get it firsthand. Apart from that, I use a manager to keep track of things.
 
Can't say that I ever have, but I keep a list of all of my login information for everything stored safely. Digital, and in some cases, print, and in very rare cases, stamped on metal (crypto keys).