Ensure preferred identity was properly parsed before using it. Also fix a leak that would happen when throwing an exception while configuring the AuthStatus.
(cherry picked from commit bbd7291a)
Ensure preferred identity was properly parsed before using it. Also fix a leak that would happen when throwing an exception while configuring the AuthStatus.
(cherry picked from commit bbd7291a)