   end
 
   defp actual_init(email, pass, server) do
-    Logger.busy(2, "Beginning authorization: #{@auth_task} - #{email} - #{server}")
+    busy_msg = "Beginning authorization: #{email} - #{server}"
+    Logger.busy(2, busy_msg)
     # get a token
     case @auth_task.authorize(email, pass, server) do
       {:ok, token} ->
-        Logger.success(2, "Successful authorization: #{@auth_task} - #{email} - #{server}")
-        ConfigStorage.update_config_value(:bool, "settings", "first_boot", false)
-        ConfigStorage.update_config_value(:string, "authorization", "token", token)
+        success_msg = "Successful authorization: #{email} - #{server}"
+        Logger.success(2, success_msg)
+        update_config_value(:bool, "settings", "first_boot", false)
+        update_config_value(:string, "authorization", "token", token)
 
         children = [
           worker(Farmbot.Bootstrap.AuthTask,                []),

  use Supervisor
  alias Farmbot.Bootstrap.Authorization, as: Auth
  alias Farmbot.System.ConfigStorage
  use Farmbot.Logger

  error_msg = """

  @spec get_creds() :: auth | {:error, term}
  defp get_creds do
    try do
      # Fetch email, server, password from Storage.
      email = get_config_value(:string, "authorization", "email")
      pass = get_config_value(:string, "authorization", "password")
      server = get_config_value(:string, "authorization", "server")

      # Make sure they aren't empty.
      email || raise "No email provided."
      pass || raise "No password provided."
      server || raise "No server provided."
      {email, pass, server}
    rescue
      e in RuntimeError -> {:error, Exception.message(e)}
