Send logout request to backend.