Fix lock screen authentication failure when using mock security service.