MAE-131/AME-192/AME-211 - CR-790. Session HA Failover and starting to refactor for use for SAML2 and OAUTH2 tokens as well.