RestKit/RestKit — pull request #755 by adriankierman (2012-05-23 06:26:54+00:00)
Title: Allow restkit client to clear cookies when changing username and password credentials.

Changing the credentials associated with basic auth is a little involved using the ios classes because of the involvement of cookies. Some servers set cookies which mean no auth challenge is sent - clearing these cookies allows the client to re-authenticate using basic auth. Unless these cookies are cleared no basic auth challenge will be sent by the server and even if the user has changed user names or passwords, the new values will not be adopted by the server.