bug fix and feature

bug fix in PAL discovery 
possibility to disable URL changes (PAL selected only based on headers and cookie)