Handle cases where custom themes may not provide the redirect_to url in the login form.