getAuthByKey: shorthand statements & better error catching