Galois cohomology and forms of algebras over Laurent polynomial rings