add checks to allow requests without authorization
checking for empty string in addition to null and undefined
Merge pull request #1 from istrategylabs/noAuthFix

add checks to allow requests without authorization