Bug 839280: Fix document leak in nsLoginManager. r=dolske