report error when sessions are configured but no cookie is presented

This is a small change that prevents the server from throwing a stack trace as mentioned in issue #11.