Fix path in HMS auth - todo: fix properly