Register link in sub-blog broken

I am using 3.1.1 (just upgraded) and the register link in sub-blogs do not get redirected to the primary site sign up page. I checked the theme and it is not hardcoded. Please help.