Emacs mode for credential management