Fixes #5886: Return organizations for the admin user.

Since the admin user is treated differently than other users, the
admin user doesn't have a direct relationship to any organizations.
Thus, we need to check if the user is an admin and return all
organizations.