changed: preauthenticate in http tests when required