How to possess ACharacter spawned from some actor class?

I have Player class (actor) which spawns some ACharacter derived blueprint class. When that blueprint is spawned its constructor and BeginPlay function are called (and Tick also) but not the set up input one. So it never gets possessed and it doesn’t react to inputs.
I tried with “AutoPossessPlayer” but it doesn’t seem to work.

When I just drag and drop it into the world it works.