Refactor out the default userinfo endpoint authentication method
Add more checks on tests, whether it's worthwile running them.