Updating test to fix failures.

Now that User.impersonate() actually checks if the user is valid, User.get("user").impersonate() is expected to fail.
Use a DummySecurityRealm to make this user a valid user.
Working toward fixing regressions.

So far none of them are real regressions but just that I needed to update tets