Fix some issues related to signing and GDrive auth