Fixed issue where login redirected to admin/index instead of /admin