/api/logout using HTTP POST method.