make sure the expected redirect URL is right