cypress: Fix "use UI to login" anti-pattern
Keep a single test using the UI to login and add a Cypress command to login
programatically because UI login is slow, cumbersome, and unnecessary.
https://docs.cypress.io/guides/getting-started/testing-your-app.html#Logging-in