Made authing with certificate optional