Beautify loginform (closes #3669)