Fix templates on register|login