[Fixes #55913376] If I have an account with a local username and password, and I try to sign in with that as a Google Account, I get a 500 page.

Now returns to the login page.

Added testing for logging in from Google without setting up Google as an authentication provider.  Also improved the test for deleting an authentication.