Fixed an issue where logging out did not nullify the key and secret
interface changes