Support using right capabilities list for auth-reply for AC SSO
This is done to resolve an issue where the AC gateway will return the authentication method instead of the authentication node when the capabilities list in the request for auth-reply contains both single-sign-on and single-sign-on-v2. By doing this, the AC gateway returns the auth node in the XML response that gets parsed correctly.
This commit should resolve the below comment.