Fix login and registration templates. Adjust redirects for checkout process related to login and registration.