Simple http auth built with ratpack and angularJS