Malformed client credentials should no longer crash the server (issue #3)