Make it easier to override has_sudo_privileges check in middleware
0.0.2