Using the method which reloads the page after sending login. This will fix an issue that the search function couldn't get the session id after login.
correctly set the map location based on organizationScope
correctly set the organizationScope from the request value - filters the search results by location
Change sanparks skin to log in with browser session instead of metacat client session so session can be validated on other pages.