Merging $packages and $context breaks initial Log in link after provisioning the site.