Refactor admin authentication to use environment variables or default values for better security and flexibility.