WK1: check UA cache before returning overriden value

The white list of urls/UAs should always keep precedence over
overriden UserAgent.