Merge tag 'v1.9.0'

1.9.0
Invalid Access Token return 401

Clean up logic to be easier to read.
Signed-off-by: Karl Mikkelsen <karl@karlmikko.com>
Fix "ReferenceError: loopback is not defined" in registry.memory().

Signed-off-by: Guilherme Cirne <gcirne@gmail.com>
Merge pull request #351 from globocom/fix/registry-memory

Fix ReferenceError: loopback is not defined in registry.memory().
Merge pull request #335 from karlmikko/bug/invalid-token-unhandled

Ignore unhanded error - simulate token missing
v1.9.1
Merge branch 'release/1.9.1' into production