Fix viewonline tests

I'm confused by this. When I dump out the "on_page" variable, it is still just `app`. Only $row['session_page'] looks like `app.php/rules`. Same confusion applies to the changes in the listener_test below as well.

```
var_dump($on_page) =
array(4) {
  [0]=>
  string(10) "viewonline"
  [1]=>
  string(10) "viewonline"
  [2]=>
  string(0) ""
  [3]=>
  string(10) "viewonline"
}
array(4) {
  [0]=>
  string(3) "app"
  [1]=>
  string(3) "app"
  [2]=>
  string(0) ""
  [3]=>
  string(3) "app"
}
```