Fixing page load error because of Yang-UI and login page redirection

Change-Id: I87f868a9705b3550d0399232168fb89fdc267738
Signed-off-by: Harman Singh <harmasin@cisco.com>