clear cookies before in the login view controller

make sure after checking for basic auth we clear cookies. one schools login page
access was failing because of the basic auth check.