Action interceptor update and secret_settings.rb fix

Fixes a few redirection issues