Auth:Rest - DRY options processing. Fixes AEROGEAR-921