Unauthorized user is redirected to #/login when accessing pages other than #/login.