Small fix to permissions and offline-user registration.