For the first question, you need to know whether your web server is running Linux or Windows and use the appropriate setting.
Maybe this article will help with your second question:
Cookies for remember "Login" details
23/
You can delete the password section if you want.