Simplify secret key management on auth api.