Allow explicit uid param to override existing cookie