fixed handling of URLs with @ and : symbols in password
Merge branch '1.5.x'
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)
Merge branch '1.5.x'