Integrate html from authorization page.  Fixed tests.