title: WooCommerce logout endpoint not working
body: <p>I've been trying to sort this out for around 3 hours now and I'm at a total loss. </p>
  
  <p>I can't logout of my WordPress site. I created a new test customer, disabled all plugins accept WooCommerce, activated the basic Twenty-Fifteen theme, have the default "customer-logout" endpoint set in WooCommerce but clicking the logout button in the My Account page just returns me in a loop back to the My Account page with the user still logged in.</p>
  
  <p>Manually adding wp_logout(); to a page will log a user out so there seems to be issue with the endpoint not triggering wp_logout();.</p>
  
  <p>Anyone have a similar issue or can point me in the right direction?    </p>