Embed MaxClient into the registry and use it in views. Introduced new oauth-test