some refactorings, added initial session test
Merge branch 'authsession' of https://github.com/mamoli/baenkli into authsession
argl, wieso ist das noetig...