Refactor

. Update coding standards to current unittest standards
. Extract test cases related to autentication to own class
. Extract test cases integrated to session integration to own class
. Use @values instead of repeated code