fixed problem checking if a user belongs to a organization
Merge branch 'CDB-2891' of github.com:CartoDB/cartodb into CDB-2891