Fix issue with edd_enforced_ssl_redirect_handler() causing a redirect loop. #1836