PortalKit: add form-based login war support in build page