Allow logging by username or email
Some method has been renamed to be consistent
Merge pull request #1803 from kayue/fix/user-email-canonical

Allow logging by username or email
Merge pull request #1771 from aRn0D/fix/methodname

Some method has been renamed to be consistent
Refactor code to properly work with domain managers not repositories while creating resources
Extract interface from DomainManager class.
Fix some service declarations.
Fix more code to match manager & repository split