Improvements to the login hints div handling.