Debug toolbar must be available regardless of login status or it cant be used when debugging non-privileges ssessions.
Remove obsolete code