rdbms: make getCPInfoFromCookieValue() stricter about allowed values