Initial credentials were not shown correctly if first view was credentials