Problem: I am trying to display a logout link, but it's not working.
Solution: In this case, the logout link was pointing at the site at http, but the site is at https. There was some unusual caching going on that seemed to indicate a broken logout. Updating the logout link URL to use https fixed this problem.