Reverting two commits from #2271

Relate to issue #2271 

When trying to access to node/1 i'm redirected to localhost/OpenScholarMain/OpenScholarMain/john

I'm reverting the two commits to prevent the wrong redirect path.