Fix wrong parameter in profile server call to delete_session.