When password is set, cookie is also set
Consistent function names