Authentication UI fixes