Fixes a bug which showed Recents layout without sign in.