Clear session after enabling all dependencies - not before