Ember admin works with subdirectory

fixes #3047