Fixed issue with admin login redirect