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 pull request #1483 from smarterclayton/bug_915527_session_caps_not_cleared

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