Fix django_selenium differences due to upgrade