Fix WebDAV enabler & password form (close #556)