Fixed a bug with users not being restored from persistent storage.