Authentication error handling fixed. Temporary secrets added.