1. Added the challenge check in Authentication serve rin AuthProvider