if local force mock auth.
use correct auth, when server, always mock when local.
fix for permissions denied #97

compare str to int. Force both to string
Merge pull request #100 from codalab/feature/auth_fixes

Auth and Permissions Fixes - WIP