Part of #5974. Related to #6329 and #5985.
This issue is about getting rid of hard dependencies on ScribeJava API within the OAuth2 login infrastructure, so it will be usable with other OAuth2-ish libraries (like Nimbus OIDC SDK to enable Open ID Connect support).
PR forthcoming see #6365.