Log shows HTTP Internal Error 500 and Authentication agent rejected request (context lost)