Needed to import AccessTokensCredentials and actually call it in both places.