Better templating for comtibility of roots.io and other themes

Hello, i just encounter some problems on the registration page. We are using roots.io theme wrapper for our theme and the templating on this plugin is not compatible.

I edited some file to make it compatible and more wordpress like templating.

I want to submit those files for you to validate the modifications but there's no way I can upload it.

maybe you can integrate those modification on the next release so i don't need to patch again after upgrade.

Thank you very much.