[JENKINS-24436] Added test case that exposes the bug.

Seems that in Jenkins core the base URLs now already contain the view part.