Correct servlet content encoding when logged-in.