Add factory for Authentication model