Fix for not presenting login page.