Fix test for visiting admin page