Fixes #450 : OOME on client authentication failure