Fix CSRF test

For some reason, `.is_displayed` on the page obejct did not work properly ...