Reopen windows when logging back in does not work
Well, all of the information for the restoration is kept in ~/Library/Saved Application State, so maybe looking there would lend a clue.  You should see a whole lot of folders ending in .savedState.