Fixed conditions to add returnUrl to the link in the LoginPartial view.