bugfix, suburl defaults to empty string when suburl is undefined

My gogs  server address is `http://127.0.0.1:3333/`.
It will redirect to `http://127.0.0.1:3333/undefined/user/sign_up` when clicking `sign-up` or `sign-in`.