Added getUniqueId() to TestOfflinePermissible.
Handle null World cases for EditSession when actor is console.

It actually should never be null, but old code does it.