Fix #1413 Add possibility to delete a persistent session

- Fix #1413