Improves front controller route detection and fixes password class name.