Added state recording for AccountManager

Ignore-this: 2a814ffea1019d17a2319923e58e0612

darcs-hash:20090416130829-1e3d8-3bc13145ccff477dc6efe9a3bec7a83b1ccdbb45