Not all migrations were copied correctly. Oops.
Convert normal Hash to PermissionHash.

Apparently, when storing a PermissionHash in the
session, it is converted to a normal Hash. When
rereading it, we convert it back to PermissionHash.