Permission check on user object rather than username - fixes #1178
Merge pull request #1230 from modilabs/case_insensitive_urls

Permission check on user object rather than username - fixes #1178