PERF: avoid checking card background and user background when not supplied (PR #11299)

Previously we were performing a bunch of needless work when SSO failed to supply profile and card backgrounds.

GitHub

very minor and pretty safe, merging.