fixed mendeley oauth issues
fixed issues with oauth