Disable OS X feature to reopen windows at login time
This bug has been fixed with the Lion update 10.7.4:

The OS X Lion v10.7.4 Update includes fixes that:
Resolve an issue in which the &quot;Reopen windows when logging back in&quot;
setting is always enabled.


(click here for more information)