I have a 07 FXST. I have not done this but was told by a harley machanic that you can take the front and rear bolts out on the tank and the tank will slide back about 2 inches. You can then reach the connector to unplug the headlamp. You do not have to unhook anything else or remove the tank.
Rick