fixed exception 'hasNext' not defined in getAttributeNames
fixed path issues in fail safe
fixed parameternames data type
Added sample code for Authentication tutorial