Headless Authentication with WordPress Certificate