Fixes #27 - case sensitive username/permission