Added an identity getter to XAuth methods to query the actually used identity