fix forms for LMS authentication