refactor unauth page request test