Added a few missing properties required to sign in within a scope.
Added filtering functions for projects and roles.