Made auth and sessions managers configurable