ensure load_connection_file works after self.session is created
ensure load_connection_file works after self.session is created

only write to config if self.session hasn’t been instantiated,
otherwise write to session attrs.
ipython/ipython,ipython/ipython