Fixed shiro exception on logout when using "native" shiro session

subject.logout() already invalidates session and subsequent call to Session.get().invalidateNow() will cause shiro exception when using "native" shiro web sessions. See issue #277 .