Issue #2559833 by alexpott, joseph.olstad - Remove the extra setRedirectUrl so that the condition above it actually becomes meaningful again.