Tested with no security before and was working fine.
I have changed the var asignation (cloud) after the authentication block and now is working fine. Actually, I changed this few days ago wrongly positioning it before sign-in block.
Thanks for the support.