The login page is on a different second level domain. Unless shared password ignore equivalent domains, setting the two as equivalent will likely resolve the issue.
https://support.lastpass.com/s/document-item?language=en_US&bundleId=lastpass&topicId=LastPass/manage-equivalent-domains.html