Use AuthError type for static errors