Fails with authtoken read from file, works with hardcoded authtoken. Not good.