extends plan migration test
plans are closed on logout: fixes #123

* plans are closed on logout
* fixes template for JBoss 7.1.1 config