Reimplement authentication.