Programming Phoenix LiveView: (65) Tests fail after changing authentication

Title: Programming Phoenix LiveView (65)
After changing the authentication code to work with live view then 10 tests fail when running mix test.

It would be good to point that out and if the problem is going to be fixed in a later chapter then let the reader know. Alternatively add fixing the tests as an exercise in the list of things to try on page 66.

Also after setting up mailcatcher as a local SMTP server and registering a new account, when I followed the link in the received email I got the same problem as is visible in the failing tests.

    (pento 0.1.0) lib/pento_web/user_auth.ex:150: PentoWeb.UserAuth.on_mount/4