Renamed client-side admin url helper

fixes #2254

- includes test