Move most login script code to /etc/profile.d and manage it from the et_...

...base cookbook; Also fix up FoodCritic compliance in Manage provider