Updated AuthManager for database connectivity changes