Update login check to check the page for expected text rather than the URL in order to let the page render