Fix bug with checking type of content in content view factory
Add auth delegate to tests