What version of DNN do you have installed? Do you have any other form module installed?
I just had someone check the code. The register and login link are using standard DNN API and code conventions. We are requesting the registration link from DNN. All of our test sites seem to behaving correctly. Is there any reason why your site is non-standard?
Do you have an external link that you can provide where this is happening?