make more things relative paths

Tested links and prefix to work against localhost/null prefix again.
Tested login (for google at least) works when included as a module.