Http Resource capture auth cookie InSpec

I am trying to use the HTTP resource in InSpec to check if a website is up or down. The only problem is to get to that page you need to log in first. So my thought was to call up the login page and send in the parameters needed to log in. Is there a way to capture the response in InSpec so I can send the auth cookie for the next call? I saw the auth: parameter but it doesn't look like it handles if a webpage created the login as opposed to Apache protecting a folder/page.