Fix functional test on dashboard and homepage

Fix functional test on dashboard and homepage - 
Expected page after login - dashboard (given there's no redirect url, or to redirect to home page)