use name of tile layer in tile authorization

fixes issues when the requested layer name differs from the
actual layer name (e.g. test_EPSG900913 -> test)