Ensure preferred identity was properly parsed before using it. Also fix a leak that would happen when throwing an exception while configuring the AuthStatus.
Ensure preferred identity was properly parsed before using it. Also fix a leak that would happen when throwing an exception while configuring the AuthStatus.