web: Fix title of #server page

By getting the 'machine' parameters actually from the 'server' part of
the URL, and not the current page.

Reviewed-by: Patrick Uiterwijk <puiterwijk@redhat.com>
Closes #625