adds loading indicator for embedded login iframe