Tests for AuthenticationConfig and AuthenticationCookie