Problems with login even after enabling ssl

No. Security uses HTTPS only cookies.

You can search in our forum for nginx and explore the suggestions.