Support relative urls as parameters to login