SSO abstractioning

Apache and Signo SSO reworked to a new general SSO concept.
Added test for new SSO concept