Made the session actually apply on auth.