There are some authentication scripts you may want to look at if logout is not working, especially the "End Session" authentication script and the `endSession` method of the "Application Session" script. There is also a `logout` method of the Person Authentication interception script. Sometimes these interception scripts can help you add extra business logic to clean up sessions in backend systems to effect logout.