4 1 stable head with status action stack level too deep

fixes https://github.com/rails/rails/issues/13905 
on 4-1-stable branch

all actionpack tests pass