Fix #1219 "Autosave remains disabled when authenticating via headers"