Merge "[flexiglass] Simplify authentication repository's `checkCredential`." into main