Clean and simplify redirect_uri logic
Exemption for sandboxes, better logging
Further cleanup redirect_uri checks
Merge pull request #842 from Singly/bg-redirect-uri-updates

Redirect URI updates