Fix registration redirect: 1. consider the redirect parameter in the completeRegistration method 2. keep the parameter in case of invalid form entries