Power ON - SSID was found, but join failed

My module: XB24-WF, Version: 1015, Hardware date 08/17/11 (written on the label).

 Using the X-CTU, I set up all the data and the module connects to the AP and the server. I use [b]Encryption WPA[/b].

Problem:
If I turn off the module and turn on again it does not connect and the Association Indication returns 0X27 “SSID was found, but join failed”.
If I reset network layer (ATNR) and set up all data (ATIDmyssid, ATEE01, ATPKmykey) then module reconnects normal.