Copy the string received from auth-source

The SASL library likes to erase the string, so make sure it doesn't
erase the cached string.