pipeline.py: support 'image' and 'imagelogin'