[SP-1604] Backport of BISERVER-12174 - Code for MOBILE-458 created injection vulnerability in PUCLogin (5.2 Suite)

@lucboudreau @rmansoor

The following was done:
1) Changes JavaScript functionality on Java
2) Functionality for checking GET parameters on mobile redirect