revoke automatic login cookie on registration pages using register_token (fixes #3498, BP from #3416)

(cherry picked from commit 8fbdf778cd6133103bbf08a261928893a8c2eb0d)
fix pattern for Google Maps url in cmd scripts (fixes #3522, BP from #3521)

patch from https://redmine.openpne.jp/issues/1755#note-4

(cherry picked from commit c588f6f2a338cd4bbe4a058f7c4d392cc0fdf521)