I read about this procedure, but I haven't tried it.
Prehaps the setting on the ipad is causing the password prompt. "something about adding applications."
Setup two or more profiles on your server. One for student. Second for administration with no restritions.
Send out the administration profile to remove restrictions on device. Do your updates. Send out student profile to enforce restrictions.