fix authenticationspec