Fix power button tests
Switch to using body id to identify subpage
Fix logout link