Try out to switch to the
Full (Strict) SSL option.
This option can cause exactly the issue you were describing, like redirect loops and mixed content errors.
A great way to re-check which kind of SSL options should we select at Cloudflare, kindly follow this article:
Some more SSL options available to us at Cloudflare, here: