added checks for sessioncookieconfig assignments
added tests for response.sendError