With reference to Why didn't Han know how to talk with the guard Captain when attempting rescue?Why didn't Han know how to talk with the guard Captain when attempting rescue? which I consider to be a fail.
In Legends, Han was a former Imperial soldier (idr him being an officer but he was definitely an Imperial before busting Chewbacca out). Has there ever been an instance of him successfully posing as an Imperial soldier in Legends?