Fix #1413 Add possibility to delete a persistent session