Fix bug when not using cookies

Change-Id: I1945f8115472ade2f7a96f88e69ae827927567f8
Signed-off-by: Spenser Shumaker <sshumake@redhat.com>