Add a null check to getAuthString method in case the field changes to nu...

...ll.