#JC-1622:
* Added redirect to referer page when user is logged in via /login page