user: Adding malformed cookie test

Adding a test for a malformed cookie, updating build.