Fix redirect to admin panel on admin login