#JC-1622:
* Fixed incorrect referer url in ajax login