login uses https.
rest login v2 uses https as well
marked v1 rest api as deprecated