Fix build errors in AuthenticationControllerFacts.