fixes #6431 - realm names may have periods so routes need to allow this