Extract apps/ai/src/auth.rs into crates/api-auth
#3707
Merged
apps/ai/src/auth.rs into crates/api-auth
#3707