add referer header if token request has referer value
Update to v2.2.1. Added referer header if appending token to requests
skip tokenrequest creation if no username password supplied
fix typo
Don't set a default value for referer when generating token
Merge branch 'dev'