Improve perms lookup for policies
Juggling tests a bit, exercise user.{has_perm,get_all_permissions} more