Okay, login problem solved, but I am not sure why, maybe someone with a bit more knowledge can explain.
CPAI was in a wedged state. CPAI was running, but the ALPR module was dead, once I started it, I was able to login again, no more error. This is very odd because I have used the database...