Fix url in register controller tests