AMBARI-7165 When pasting in a url that requires login, login should redirect after login. (atkach)