importer/import: first try to login in order to fail, if we can't