It doesn't - every time I've re-installed an OS from a recovery partition, letting it do a reformat, all sorts of password data, log-ins etc pop up uninvited when I reinstall the various programs.
I think they sneak into an alternate universe while the reformat goes on and then climb back onto the hard disc. But I might be wrong.....