Holding the Shift key while logging in prevents apps from opening automatically . This feature can be disabled entirely with the following terminal command: defaults write -g ApplePersistence -bool no.
defaults write -g ApplePersistence -bool no