update session to support custom AttributesConfigManager

update session to support custom AttributesConfigManager