It might be a case of whether you have specified that your SSL uses "www" in front of the domain name.

Example:
https://yourdomainname.com
or
https://www.yourdomainname.com

My SSL uses the "www" and when I didn't have that correctly listed in the config files (I hadn't added the "www" to the sercure server info), I was getting a loop for the Account Login and signed-up customers were getting a security error when they tried to log in. I added the "www" and things work perfect.

Hope this helps!