Refactor #9613 MODX Carbon Login page

http://tracker.modx.com/issues/9613