Unit tests fixed.
`projects` permissions finally fixed.
Merge branch 'integration' into projects-generic