Update core/lib/redirect.php

Added https:// in case redirecting to a secure page