MOBILESDK-40 Encode tokens in portrait URLs