tweaks to how login shells are invoked