No permission without 403 and Bad request without 404 fix
Merge pull request #239 from kierownik/master

No permission without 403 and Bad request without 404 fix
Merge branch 'master' into version2.0