[SPARK-57890][CORE] Add core credential types (UserContext, ServiceCredential, UserCredentials)