Added QueryParameter to LOGIN_NAME
Changed constructor parameter name to match the setted property.
Added support for AttributedType. Changed the Agent/User methods to use the getLoginName instead of getId.
Fixed test cases to use the Agent/User getLoginName and LOGIN_NAME QueryParameter.