Invalid Access Token return 401

Clean up logic to be easier to read.
Signed-off-by: Karl Mikkelsen <karl@karlmikko.com>