Fixed redirect to login when not authenticated for admin functions site.