In this login page, for example,
https://www.beyondtherack.com/auth/login
there is the submit button element with name _submit inside the login form, which is not being included in the posting, but it is required for the login to be successful (tested)
The problem is that the lxml method form.form_values() alone does not include all the involved fields in the form. Seems it only includes the input elements.