Adjust POST_LOGIN_VIEW and POST_LOGOUT_VIEW test