Fix commandline import in light of new auth framework