Welcome to The Forum, along with a bad ground you could have a charging system or battery issue Harley Davidson Forums This link will guide you thru the tests, good luck and check back in:s
When you pull the head light out look at the connector for excessive heat signs. They have been known to overheat from the bulbs heat and cause the connector to warp and get bad connections.
tourbx