Bug 915527 - Session capabilities not cleared when domain/app changed

The session sweeper that clears capabilities was broken when we improved the
capabilities support last sprint.  It was still trying to delete the old name,
so the session cache wasn't cleared.

[merge]