Managerless West Bromwich Albion end a run of 10 successive away defeats as they come from behind to win their FA Cup third-round tie at Championship rivals Swansea City on penalties.