Support SAFECOOKIE authentication.