Fix reposnse override in resetCredentials

Make use of resetCredentials intead of explicitly use expireCookie.
Removed wrong override of response in def resetCredentials and use the
one received as parameter.