Fixed missing tag close bug in base.html.
Allow the functional tests to run against a passed server.