Use user_registration_path instead of hardcoded /accounts for deployments into sub-directories...