Fixed page.source call in authentication spec.