Centers of Sylow subgroups and automorphisms