Weak automorphisms of universal algebras