I thought the hook login_form was supposed to be part of the <form> element.