API requests runs authorize before filter which makes an authentication (see https://github.com/ares/foreman/blob/fd6867f8033a7de7e423f8dfc12a79cb2e47a9c9/app/controllers/api/base_controller.rb#L66 and https://github.com/ares/foreman/blob/fd6867f8033a7de7e423f8dfc12a79cb2e47a9c9/lib/api/authorization.rb#L11) and that disables require_login before filter (see here
https://github.com/ares/foreman/blob/fd6867f8033a7de7e423f8dfc12a79cb2e47a9c9/app/controllers/application_controller.rb#L67).

However it's just lucky coincidence and you made a good point, Signo should not be ```available?``` when it's an API request. I added second commit fixing this issue. Also adding storage dir .gitignore. Could you please review and let me know so I can squash it to one commit?