This would probably break if you have set your token and do not have a username or password.