Bug 863127 - Dont show SPN if same as network name, r=@timdream, a=tef+

Uplifted from master, original commit dc4d70cac4abed8c3ca32822a9e171c6a05d5f34.