Use correct api permission status code when forbidden
Use correct api permission status code when forbidden

Fixes #1933

librariesio/libraries.io,librariesio/libraries.io,librariesio/libraries.io,librariesio/libraries.io