Yes this an old topic, yes this is a disposable account, but if anyone ever comes across this thread, here is the solution:
It's the damn door. If you try to open the closed door 3 times, the guards will get hostile the next time they see you.
To fix this issue, use a savegame editor and change...