Attempt to log into Synapse. Will first try using authentication credentials written to a .synapseConfig file. If that fails, will try using any credentials passed to the function. Will return `NULL` if not all attempts failed.
attempt_login(syn, ...)Synapse client object
Synapse credentials, such as `authToken` or `email` with a `password` or `apiKey`.