Fixes #5593, display authorized menu items post single page app.

Do not merge this until https://github.com/theforeman/foreman/pull/1423 has been merged.