Corrected the test to change GET to POST for logout