http: fix context based pages

regression introduced by 8b7c60e

Acked-by: Albert Rossi
Ticket: #8024
Target: master
Require-book: no
Require-notes: no
Merge pull request #208 from kofemann/iss8024-2.7

Iss8024 2.7