AI-Driven Risk Engine and Adaptive Authentication