Fix typo "${redirect_to}"

$redirect_to variable was split by curly brackets (possibly mainly
cosmetic change)
Use curly brackets around PHP vars in string

Mainly cosmetic change, to bring it in to line with the other use of
curly brackets in this file.