@domcleal, it is superfluous.  I just copied the response from without api.  I think it's ok to remove it.  I also added :type, but :username, :password, :provider is in the :attrs hash