Retry auth and ssl