Fixed secret_key exposure