prevent shiro session creation

fixes #314