Added auto-emacs on login support.