(refs #54)Large refactor for cookie based authentication.