per-site-settings: sys.exit, not os.exit
session.sh: remove excess newlines