Move the check for authenticated request to the login partial

[#84580652]
Simpler to handle the request authentication in the login partial so
that we are not repeating markup in _Layout.cshtml. Needed to add some
override for the navbar classes. Not sure if the logout will still work,
needs testing.