fixed issue 1701:Restore menu/page after end of impersonation, thanks kmouts
removing garbage from admin it.py