SNAA code cleanup: now tested and working for Dummy, JAAS and Shibboleth (authentication only so far)