title: Angular 6 auth using cookies
body: <p>Any idea on how to implement cookie auth in Angular 6?
  I have tried using AuthGuard but I'm not able to check if the user is authenticated or not because the cookie is HttpOnly so I can't access its content.
  I need this to protect some routes.</p>
  
  <p>Thanks!!!</p>