Fixed some auth issues.