When the end users access the URL like below :
it would take them to the backend view if they have access.
This is because the SPEntryPage script include only controls which page the user should be redirected to on first login.
Create the system property "glide.entry.loggedin.page_ess" if it does not already exist and set the value to "/sp". That should always redirect the ess users to your Service Portal.