Check rc of get_auth
Updates after review
Merge pull request #604 from Metaswitch/iss603

[Reviewer: Rob] Check rc of get_auth