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

http://projects.theforeman.org/issues/5593

Do not merge this until https://github.com/theforeman/foreman/pull/1423 has been merged.  The tests will not pass until then.