Fixes to urls to be page-relative, fixes to LoginControllerSpec

Removed test node_modules
Updated urls to be relative to index.html