importer/import: first try login, then export JSESSIONID

reason: export X=`! :`; echo $? # ====> 0
export X=`failed program` never fails