[migration] more rename_entity_type fix
* ensure repository caches and system tables are properly cleanup
* delete relations from/to entities deleted through sql
So we don't ends up with a corrupted db...
if versions_map['cubicweb'][0] == (3, 7, 4):
config['http-session-time'] *= 60
config['cleanup-session-time'] *= 60
config['cleanup-anonymous-session-time'] *= 60