Fixed a bug in service helper's verify_auth method.